1   /************************************************************
2   *                     Copyright                            *
3   * Portions of this software are Copyright (c) 1993 - 2002, *
4   * Chad Z. Hower (Kudzu) and the Indy Pit Crew              *
5   *  - http://www.nevrona.com/Indy/                          *
6   ************************************************************/
7   package org.indy;
8   
9   /***
10   * Provides a summary of server state for event handlers
11   *
12   * @author unascribed
13   */
14  public class TCPServerEvent {
15    private final TCPServer server;
16    private final Connection connection;
17  
18    /***
19     * Creates a new TCPServerEvent object.
20     *
21     * @param server DOCUMENT ME!
22     * @param connection DOCUMENT ME!
23     */
24    public TCPServerEvent(TCPServer server, Connection connection) {
25      this.server = server;
26      this.connection = connection;
27    }
28  
29    /***
30     * DOCUMENT ME!
31     *
32     * @return DOCUMENT ME!
33     */
34    public TCPServer getSever() {
35      return server;
36    }
37  
38    /***
39     * DOCUMENT ME!
40     *
41     * @return DOCUMENT ME!
42     */
43    public Connection getConnection() {
44      return connection;
45    }
46  }
This page was automatically generated by Maven